import { LibEntity } from '@/lib/entity/libEntity';
import { Entity, Column } from 'typeorm';
@Entity('t_admin_manager') //生成的表名
export class ManagerEntity extends LibEntity {
  @Column({ type: 'varchar', length: 20, nullable: false })
  manager_name: string;

  @Column({ type: 'varchar', nullable: false })
  password: string;

  @Column({ type: 'varchar', length: 20 })
  eamil: string;

  @Column({ type: 'varchar', length: 11, nullable: false, unique: true })
  phone: string;
}
